<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
{$name['sex']['f']}
<br>
{if ($is !== false)}
11
{/else}
22
{/if}
<br>
{foreach name="data['sex']" key="k" value="v"    }
    {@k}:

    {if ( is_array($v) ) }

        {foreach name="v" key="fk" value="fv"    }
              {@fk}{@fv}<br>
        {/foreach}
    {/else}
        {@v}
    {/if}

<br>


{/foreach}



</body>
</html>